function Maiks:AddonScan(addon_name, addon_scan_action)
--print(addon_name, addon_scan_action) -- this is for testing
	if addon_name and addon_scan_action then
		if addon_scan_action == "info" then
			name, title, notes, enabled, loadable, reason, security = GetAddOnInfo(addon_name)
			-- to test we are going to print and see what happens with the info we get back
			print(name, title, notes, enabled, loadable, reason, security)
		elseif addon_scan_action == "installed" then
			name, title, notes, enabled, loadable, reason, security = GetAddOnInfo(addon_name)
			return reason
		end
	end	
end